tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 11 Sep 2018 13:34:35 +0000 (15:34 +0200)
commit6f6e2eae0a67069a2dab665dfb10ed19160e3c45
tree80ff891e5db4750a49f4a034bf09fc4ffcc9f2a3
parentb0a6bb394e5304d7aed8ffeb6d19ef66f5e645c0
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Gbp-Pq: Topic misc
Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch
tools/xenstat/xentop/xentop.c